#ifndef EDITLOCK_H
#define EDITLOCK_H

#include <QMainWindow>
#include <QDebug>
#include <QFile>
#include "AES.h"

extern void my_encrypt(AESModeOfOperation *moo, unsigned char *input, int len, QString path);
namespace Ui {
class editlock;
}

class editlock : public QMainWindow
{
    Q_OBJECT

public:
    explicit editlock(QWidget *parent = nullptr);
    editlock(QString password, QString path, QWidget *parent = nullptr);
    ~editlock();

private slots:
    void on_backButton_clicked();

    void on_confirmButton_clicked();

signals:
    void back_newlock_signal();

private:
    Ui::editlock *ui;
    QString password;
    QString path;
};

#endif // EDITLOCK_H
